<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
</head>
<body>
<p>单个文件上传</p>
<form action="${pageContext.request.contextPath}/upload/submit" method="post" enctype="multipart/form-data">
    <input type="file" name="image" /><br/>
    <input type="submit" /><br/>
</form>
<hr/>

<p>批量上传</p>
<form action="${pageContext.request.contextPath}/upload/submits" method="post" enctype="multipart/form-data">
    <input type="file" name="images" /><br/>
    <input type="file" name="images" /><br/>
    <input type="submit" /><br/>
</form>
</body>
</html>
